package com.ruoyi.system.DTO.Reques.vms;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * Description:
 *
 * @author JourWon
 * @date Created on 2025/5/14
 */
@Data
public class SkuClassDTO {

    @NotBlank(message = "类型名称不能为空")
    @Size(max = 50, message = "类型名称长度不能超过50")
    private String className;

    private Integer parentId = 0; // 默认0表示一级分类
}
